home *** CD-ROM | disk | FTP | other *** search
/ PC User 2002 April / Disc 2 / PCUSER0402D2.iso / software / utils / files / wincron.exe / data1.cab / Sample_Scripts / skip_test.tg < prev    next >
Encoding:
Text File  |  2001-10-20  |  839 b   |  51 lines

  1. ## skip_test
  2. # test the various skip error handling
  3. # NOTE: this script will not run, it is meant to run in the debugger to check edge cases
  4.  
  5. {
  6.     -start
  7.     -stop
  8.     -action -debug ffffffff
  9. }
  10.  
  11. {
  12.     -name skip_test
  13.     -start
  14.     -action -inc 0 0 0 5
  15.     -action -print running
  16.  
  17. # skip tue and wed 
  18.     -skip -week 3,4
  19.  
  20. # missing interpretation specifier
  21.     #-skip 1,2,3
  22.  
  23. # no values, not an error
  24.     #-skip -week
  25.  
  26. # no values, not an error
  27.     #-skip -year
  28.  
  29. # out of range test one
  30.     #-skip -week 1,2,3,4,5,6,7,8
  31.  
  32. # out of range test two
  33.     #-skip -week 0,1,2,3,4,5,6,7
  34.  
  35. # out of range test three
  36.     #-skip -week 1,2,8
  37.  
  38. # out of range test four
  39.     #-skip -week 1,2,X
  40.  
  41. # good skip (but all days!)
  42.     #-skip -week 1,2,3,4,5,6,7
  43.  
  44. # out of range test for year
  45.     #-skip -year 1,2,367
  46.  
  47. # good test for year
  48.     #-skip -year 1,2,366
  49.  
  50. }
  51.